package com.ssy.lingxi.report.model.constant.logistics;

/**
 * 物流单外部状态枚举
 *
 * @author yzc
 * @version 2.0.0
 * @date 2020/7/14
 */
public enum LogisticsOrderStatusEnum  {

    /**
     * 待提交 - 1
     */
    WAIT_SUBMIT(1, "待提交"),

    /**
     * 待确认 - 2
     */
    WAIT_CONFIRMED(2, "待确认"),

    /**
     * 不接受物流单 - 3
     */
    NO_RECEIVE(3, "不接受物流单"),

    /**
     * 接受物流单 - 4
     */
    RECEIVE(4, "接受物流单");


    private final Integer code;
    private final String message;


    LogisticsOrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
